{extend name="admin@public/base_content" /}
{block name="body">}
<body>
{include file="admin@public/common" /}
<!--头部搜索开始-->
<div class="container-fluid larry-wrapper">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <section class="panel panel-padding">
                <form class="layui-form" action="{:url('')}">
					<input type="hidden" name="id" value="{:input("id")}" />
                    <div class="layui-form">
                        <div class="layui-inline">
                            <select name="status">
                                <option value="">选择状态</option>
                                <option value="2" {if $pageMaps['status'] == 2}selected{/if}>未入场</option>
                                <option value="1" {eq name="pageMaps.status" value="1"}selected{/eq}>已入场</option>
                                <option value="-1" {eq name="pageMaps.status" value="-1"}selected{/eq}>爽约</option>
                            </select>
                        </div>
                        <div class="layui-inline">
                            <button lay-submit class="layui-btn" lay-filter="search">查找</button>
                        </div>
                    </div>
                </form>
            </section>
        </div>
    </div>
</div>
<!--头部搜索结束-->
<div class="layui-form">
    <table class="layui-table lay-even">
        <thead>
        <tr>
            <th width="80">ID</th>
            <th>报名姓名</th>
            <th>所在学校</th>
            <th>活动名</th>
            <th>核销员</th>
            <th>报名手机</th>
            <th>报名日期</th>
            <th>入场日期</th>
            <th>是否入场</th>
            <th width="240">操作</th>
        </tr>
        </thead>
        <tbody>
        {foreach name="list" item="vo"}
        <tr>
            <td>{$vo.sign_id}</td>
            <!--<td>大人：{$vo.wx_name}{if $vo['wx_name_small']}<br>小孩：{$vo.wx_name_small}{/if}</td>-->
            <td>{$vo.wx_name}</td>
            <td>{$vo.wx_name_small}</td>
            <td>{$vo.activity_title}</td>
            <td>{if $vo.user_name==''}{else}{$vo.user_name}{/if}</td>
            <td>{$vo.tel}</td>
            <td>{$vo.sign_time}</td>
            <td>{if $vo.status ==1 }{$vo.enter_time}{else}未入场{/if}</td>
            <td>{if $vo.status ==1 }已入场{elseif $vo.status ==-1}爽约{else}未入场{/if}</td>
            <td>
                <!--<a href="{:url('info',array('sign_id'=>$vo['sign_id']))}" class="layui-btn layui-btn-mini modal-catch">
                    <i class="iconfont">&#xe653;</i>编辑
                </a>-->
                <a class="layui-btn layui-btn-mini layui-btn-danger ajax"
                   data-list='{"key":"id={$vo.sign_id}","msg":true,"render":"true","action":"del"}'
                   data-params='{"url": "{:url("del")}","confirm":"true","data":"id={$vo.sign_id}","complete":"del"}'>
                    <i class="iconfont">&#xe626;</i>删除
                </a>

            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>
</div>
</body>
{/block}
{block name="script"}
<script>
    layui.use('default');
</script>
{/block}